package leetcode;

import java.util.HashSet;

/**
 * @Author Gan
 * @Date 2021/6/9 21:45
 * @Description:
 */
public class RepeatingElements {
    public static void main(String[] args) {
        int[] nums = {1,3,6,8};
        HashSet<Integer> set = new HashSet<>();
        for (int num: nums){
            set.add(num);
        }
        if (set.size() < nums.length)
            return;
    }
}
